<?
$xsl = new XSLTProcessor();
$xsl->importStyleSheet(DOMDocument::load("xhtml2sms.xsl"));
echo $xsl->transformToXML(DOMDocument::load("index.xhtml"));
?>